namespace _237 {

var deleteNode = function(node: ListNode<number>) {
    node.val = node.next.val
    node.next = node.next.next
};

var xs: ListNode<number> = {
    val: 0, next: {
        val: 1, next: null
    }
}

deleteNode(xs)

}